import base from '@/api/baseurl';
import request from '@/utils/request'

export function fetchListParamterszi(query) {
  return request({
    baseURL:base.appBaseApi,
    url: '/atigs/findEnterTheParameter',
    method: 'get',
    params: query
  })
}

//单行删除
export function deleteParamterszi(query) {
  return request({
    baseURL:base.appBaseApi,
    url: '/atigs/delEnterTheParameter',
    method: 'get',
    params: query
  })
}



export function addParamterszi(data) {
  return request({
    baseURL:base.appBaseApi,
    url: '/atigs/addEnterTheParameter',
    method: 'post',
    data
  })
}

export function updateParamterszi(data) {
  return request({
    baseURL:base.appBaseApi,
    url: '/atigs/updateConfiguration',
    method: 'post',
    data
  })
}
